<h1>Editing comment</h1>

<%= error_messages_for :comment %>

<% form_for(:comment, :url => video_comments_path(params[:video_id])) do |f| %>
  <p><%= f.text_field :body %></p>
  <p><%= f.text_field :name %></p>
  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', video_comment_path(:video_id=>params[:video_id], :id=> params[:id]), :class=>'thickbox' %> 
